projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67ada22
)
* nsterm.m (ns_read_socket): Return early if there is a modal window.
author
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 25 Jul 2012 17:31:34 +0000
(19:31 +0200)
committer
Jan Djärv
<jan.h.d@swipnet.se>
Wed, 25 Jul 2012 17:31:34 +0000
(19:31 +0200)
Fixes: debbugs:12043
src/ChangeLog
patch
|
blob
|
history
src/nsterm.m
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index 1e9e65192f7a135da120f0080698ec0acedd9be5..700ff294c83e8ce3ce0e29350bd555515e230bc9 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+2012-07-25 Jan Djärv <jan.h.d@swipnet.se>
+
+ * nsterm.m (ns_read_socket): Return early if there is a modal
+ window (Bug#12043).
+
2012-07-25 Martin Rudalics <rudalics@gmx.at>
* frame.c (Fredirect_frame_focus): In doc-string don't mention
diff --git
a/src/nsterm.m
b/src/nsterm.m
index e018ea349105911ae801603c0914e30e67d63276..1f06d49c5b9d6b4585f3334869d178ba310b41a4 100644
(file)
--- a/
src/nsterm.m
+++ b/
src/nsterm.m
@@
-3411,6
+3411,9
@@
ns_read_socket (struct terminal *terminal, int expected,
/* NSTRACE (ns_read_socket); */
+ if ([NSApp modalWindow] != nil)
+ return -1;
+
if (interrupt_input_blocked)
{
interrupt_input_pending = 1;